import { RedisModule } from '@common/reids/redis.module';

import { Module, forwardRef } from '@nestjs/common';
import { RebotService } from './rebot.service';
import { RoomModule } from '../room/room.module';
import { SocketModule } from '../socket/socket.module';
import { MJModule } from '../mj/mj.module';
import { WebSocketGatewayModule } from '../web-socket.module';

@Module({
  imports: [RedisModule, RoomModule,SocketModule,forwardRef(()=>MJModule),forwardRef(()=>WebSocketGatewayModule)],
  providers: [RebotService],
  exports: [RebotService],
})
export class RebotModule {}
